﻿=Everything Server=

[[/everything-1.5|Everything 1.5]] introduces the Everything Server.

<beta1.5>

The Everything Server allows you to:
<ul>
*Share a centralized index with multiple users.
*Keep client indexes up to date.
*Create path remappings.
*Limit access with user credentials.
</ul>

Hosting an Everything Server in a business or enterprise environment requires a [[/everything/server/buy/|Site License]].
A Site License is not required for personal use.

[[File:/everything.server.png]]

The Everything Server shares indexes and index changes only.
Files are accessed with Windows Shares.
Connections are encrypted with AES.

[[#install|Server install]]
[[#server_setup|Server setup]]
[[#service|Server service]]
[[#firewall|Setup server firewall]]
[[#client_setup|Client setup]]
[[#policies|Group Policies]]
[[#ini|Advanced INI settings]]



==install|Server install==

To add the Everything Server plugin:
<ul>
*Download and run the [[support/everything/plugins/#everythingserver|Everything Server plugin installer]].
</ul>



==server_setup|Server setup==

To create an Everything Server:
<ul>
*On your server PC, In '''Everything''', from the '''Tools''' menu, click '''Options'''.
*Click '''Index''' on the left.
*Check '''Enable Journal''' (it is enabled by default).
*Set '''Maximum Size''' to: '''32768''' KB (32768 KB is recommended for an Everything Server, 1024 KB is the default).
</ul>
<ul>
*Click '''NTFS''' on the left.
*Uncheck '''Automatically include new fixed volumes'''.
*Uncheck '''Automatically include new removable volumes'''.
</ul>
<ul>
*Click '''ReFS''' on the left.
*Uncheck '''Automatically include new fixed volumes'''.
*Uncheck '''Automatically include new removable volumes'''.
</ul>
<ul>
*Click '''Everything Server''' under Plugins on the left.
*Check '''Enable Everything Server'''
*Under '''Users''', click '''Add...'''.
*Click '''OK''' to add the default (empty) user account.
*Set a '''Password''' (optional)
*Under '''Include only''', click '''Add...'''.
*Set the '''Path''' to the local server path, for example: '''D:\media'''
*Set the '''Remap to''' the network share, for example: '''\\server\media'''
*Click '''OK'''.
*Repeat for additional shares.
*Clients will only have access to the filenames in the paths you specify in '''include only''', leave '''include only''' blank to share all files.
*Click '''OK''' to complete setup and start the Everything Server.
*If prompted with Windows Firewall, select allow Everything through the Windows Firewall.
</ul>

{{warning|The Everything Server requires an enabled Index Journal to synchronize client indexes.}}



The Everything Server uses port 14630 by default.

To change the Everything Server port:
<ul>
*On your server PC, In '''Everything''', from the '''Tools''' menu, click '''Options'''.
*Click '''Everything Server''' under Plugins on the left.
*Set '''Port''' to the new port number, for example: 14631
*Click '''OK'''.
</ul>



The Everything Server is accessible from all interfaces by default.

To limit the Everything Server to a specific interface:
<ul>
*On your server PC, In '''Everything''', from the '''Tools''' menu, click '''Options'''.
*Click '''Everything Server''' under Plugins on the left.
*Set '''Bind to interfaces''' to a semicolon list of interfaces, for example: to the limit to local access only, set to: localhost
*(leave empty to bind to all interfaces)
*Click '''OK'''.
</ul>



You can create additional user credentials for a different set of paths.

To add another user:
<ul>
*On your server PC, In '''Everything''', from the '''Tools''' menu, click '''Options'''.
*Click '''Everything Server''' under Plugins on the left.
*Under '''Users''', click '''Add...'''.
*Type in a '''user name''' and click '''OK'''.
*Set the '''password''' and '''include only''' paths to restrict access.
*Click '''OK'''.
</ul>



Only filename, size and date modified properties are shared with clients by default.

To share date created and attribute information with clients:
<ul>
*On your server PC, In '''Everything''', from the '''Tools''' menu, click '''Options'''.
*Click the '''Indexes''' tab on the left.
*Check '''Index Date Created'''.
*Check '''Index Attributes'''.
*Click '''OK'''.
</ul>



To register the Everything Server:
<ul>
*On your server PC, In '''Everything''', from the '''Tools''' menu, click '''Options'''.
*Click '''Everything Server''' under Plugins on the left.
*Click '''Register...'''.
*Type in your '''Organization''' and '''Key'''.
*If you don't have a key, click [[/everything/server/buy/|Buy Site License]].
*Click '''OK'''.
*Your License information is shown at the top.
*Click '''OK'''.
</ul>



==service|Server service==

Not to be confused with the [[/support/everything/options/#everything_service|Everything Service]].
The Everything Service is not required when running the Everything Server as a service.

To install the Everything Server as a service:
<ul>
*Completely '''exit''' out of '''Everything''' (From the '''File''' menu, click '''Exit''')
*Copy Everything.exe to a new folder (eg: C:\EverythingServer).
*Please make sure Everything has write permission to this folder.
*Launch Everything.exe as an administrator.
*In '''Everything''', from the '''Tools''' menu, click '''Options'''.
*Click the '''General''' tab on the left.
*Uncheck '''Store settings and data in %APPDATA%\Everything'''.
*Click '''OK'''.
*[[/support/everything/indexes|Setup indexes]].
*[[#server_setup|Setup the Everything Server]].
*Completely '''exit''' out of '''Everything''' (From the '''File''' menu, click '''Exit''')
*Install the Everything client service with the following command line option:
```Everything.exe -install-client-service```
</ul>

There is no interface when running the Everything Server as a service.

To change Everything Server settings after the Everything Server service is installed:
<ul>
*Stop the Everything client service with the following command line option:
```Everything.exe -stop-client-service```
*Launch Everything.exe as an administrator (from: C:\EverythingServer).
*[[#server_setup|Setup the Everything Server]].
*Completely '''exit''' out of '''Everything''' (From the '''File''' menu, click '''Exit''')
*Restart the Everything client service with the following command line option:
```Everything.exe -start-client-service```
</ul>



==firewall|Setup server firewall==

To allow the Everything Server through your Windows Firewall:
<ul>
*From the Start menu, type: firewall
*Select '''Firewall & network protection'''.
*Click '''Allow an app through firewall'''.
*Click '''Change settings'''.
*Click '''Allow another app...'''.
*Click '''Browse'''.
*Select '''Everything.exe''' from your '''Everything installation folder'''.
*Click '''Add'''.
*Check the desired network access (Domain / Private / Public).
*Click '''OK'''.
</ul>



==client_setup|Client setup==

[[File:/network.index.options.png]]

To add an Everything Server to your client index:
<ul>
*On your client PC, In '''Everything''', from the '''Tools''' menu, click '''Options'''.
*Click '''Network Index''' on the left.
*Click '''Add...'''.
*Type in the '''host''' '''name''' or '''IP''', for example: ''server'' or 192.168.0.10
*Set the '''username''' (leave blank to use the default user account).
*Set the '''password''' (it must match what was set on the Everything Server).
*Click '''OK'''.
*Click '''OK'''.
</ul>



All paths that the server allows are included by default.

To limit and/or remap paths on the client:
<ul>
*On your client PC, In '''Everything''', from the '''Tools''' menu, click '''Options'''.
*Click '''Network Index''' on the left.
*Select the '''Remote Everything Index'''.
*Under '''Include only''', click '''Add...'''.
*Set '''Path''' to the server path, for example: \\server\media (or D:\media if the server is not using remapping)
*Set '''Mount as''' to the mounted path, for example: \\server\media
*Click '''OK'''.
</ul>



To disable monitoring changes to a remote Everything index:
<ul>
*On your client PC, In '''Everything''', from the '''Tools''' menu, click '''Options'''.
*Click '''Network Index''' on the left.
*Select the '''Remote Everything Index'''.
*Uncheck '''Monitor changes'''.
*Click '''OK'''.
</ul>



==policies|Group Policies==

To create policies to lock down client settings, please see [[/forum/viewtopic.php?f=12&t=11948|Everything Group Policies]].



==ini|Advanced INI settings==

Everything Server settings are stored in your %APPDATA%\Everything\Plugins.ini
(Plugins-1.5a for the alpha version)
Exit Everything before making a change to your Plugins.ini (File -> Exit)

Everything Server settings are stored under the `[everything_server64.dll]` or `[everything_server32.dll]` section, depending on which version you installed.

<dl>
;''index_snapshot_cache_timeout''
The number of milliseconds to keep an index snapshot in cache.
The default is: 60000

;''index_snapshot_max_count''
The maximum number of index snapshots.
Clients will wait for an index snapshot if the maximum number of index snapshots is exceeded.
Cached index snapshots can be cleared if the maximum number of index snapshots is exceeded.
The default is: 8
</dl>